{template header}

<!--{if empty($infloat)}-->
	{subtemplate header_nofloat}
<!--{/if}-->

<div class="float" style="height: 410px">
<div class="floatbox">
	<h3 class="float_ctrl">
		<em id="return_$handlekey">{lang rate_view}</em>
		<span>
			<!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="floatwin('close_$handlekey')" title="{lang close}">{lang close}</a><!--{/if}-->
		</span>
	</h3>
	<div class="floatwrap">
	<table class="list" cellspacing="0" cellpadding="0">
		<thead>
			<tr>
				<td>{lang credits}</td>
				<td class="user">{lang username}</td>
				<td class="time">{lang time}</td>
				<td>{lang reason}</td>
			</tr>
		</thead>
		<!--{loop $loglist $log}-->
		<tr>
			<td>{$extcredits[$log[extcredits]][title]} $log[score] {$extcredits[$log[extcredits]][unit]}</td>
			<td class="user"><a href="space.php?uid=$log[uid]">$log[username]</a></td>
			<td class="time">$log[dateline]</td>
			<td>$log[reason]</td>
		</tr>
		<!--{/loop}-->
	</table>
	</div>
	<div class="postbox">{lang total}:
	<!--{loop $logcount $id $count}-->
	&nbsp;{$extcredits[$id][title]} <!--{if $count>0}-->+<!--{/if}-->$count {$extcredits[$id][unit]} &nbsp;
	<!--{/loop}-->
	</div>
</div>
</div>

<!--{if empty($infloat)}-->
	{subtemplate footer_nofloat}
<!--{/if}-->
{template footer}